package com.guotd.ticketSystem.mapper;

import com.guotd.ticketSystem.entity.Airline;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AirlineMapper {

     List<Airline> getAirlines();

     int addAirline(@Param("id") String id,@Param("fromAirport") String fromAirport,@Param("toAirport") String toAirport);

     int delAirline(@Param("id") String id);

     int updateAirline(Airline airline);
}
